#include <stdio.h>

int main()
{
	printf("%d\n", 100);	

	printf("%4d\n", 100);

	printf("%4d\n", -100);

	printf("%04d\n", 100);

	printf("%-5d\n", 100);

	printf("%-9d\n", -3141);

	printf("%o\n", 10);

	printf("%#o\n", 10);

	printf("%x\n", 10);

	printf("%X\n", 10);

	printf("%#x\n", 10);

	printf("%f\n", 123.456);

	printf("%7.5d\n", 123); //  00123

	printf("%e\n", 123.456);

	printf("%d\n", 11 + 11);

	printf("%s %c\n", "s", 65);
}